package com.csht.service;

import com.csht.model.CshtUser;

/**
 * 登录service接口
 * @author chenhuiyan
 *
 */
public interface LoginService {

	/**
	 * 根据用户名或手机号查找用户
	 * @param usernameOrTel
	 * @return
	 * @throws Exception
	 */
	public CshtUser getUserByUsernameOrTel(String usernameOrTel) throws Exception;
	
	/**
	 * 更新登录失败次数
	 * @param cahtUser
	 * @throws Exception
	 */
	public void updateLoginFailTime(CshtUser cshtUser) throws Exception;
	
}
